Average sentence length |
---|
14.8969 |
sentence length | percentage |
---|---|
3 | 0.0600 |
4 | 0.6200 |
5 | 1.1100 |
6 | 2.6800 |
7 | 3.9600 |
8 | 4.9900 |
9 | 6.2300 |
10 | 6.8400 |
11 | 7.1800 |
12 | 7.4600 |
13 | 7.7400 |
14 | 5.4900 |
15 | 5.2100 |
16 | 5.2700 |
17 | 4.7700 |
18 | 4.5900 |
19 | 4.4400 |
20 | 3.5500 |
21 | 2.9600 |
22 | 2.5900 |
23 | 2.1200 |
24 | 1.8200 |
25 | 1.6000 |
26 | 1.5600 |
27 | 1.0700 |
28 | 1.0400 |
29 | 0.9100 |
30 | 0.5700 |
31 | 0.5800 |
32 | 0.3400 |
33 | 0.2200 |
34 | 0.0900 |
35 | 0.0800 |
36 | 0.0300 |
37 | 0.0800 |
38 | 0.0300 |
39 | 0.0500 |
40 | 0.0100 |
42 | 0.0200 |
44 | 0.0200 |
45 | 0.0200 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters